d = load('Avant600-lms200.txt');

for j=1:size(d,1)
cnt = 0;
for i=1:180
%d(j,2+2*i)<0 ||
if(d(j,2+2*i)>30) ;
	d(j,2+2*i)=0 ;
cnt++;
endif;
x(i) = d(j,2+2*i).*cos(d(j,2+2*i+1));  
y(i) = d(j,2+2*i).*sin(d(j,2+2*i+1));
end
cnt
figure(1);
plot(x,y,'o');
%axis([-0.5 10 -5 5]);
axis equal;

figure(2);
plot(x,y,'o');
axis([-1.5 1.5 -1.5 1.5]);
pause;

end
